#ifndef ENEMY_H
#define ENEMY_H

#include "Character.h"

class EnemyAI;

class Enemy : public Character
{
public:
    Enemy();
    ~Enemy();

    void initGameObjectWith(GamePlayScreen *_gameScreen, CCDictionary *_dict, signed char _group);
    void playEnemy(bool _play);
    void createSprite();
    void createPhysicBody();
    void beginContact(b2Fixture *ownFixture, b2Fixture *otherFixture, b2Contact *contact);
    void endContact(b2Fixture *ownFixture, b2Fixture *otherFixture, b2Contact *contact);
    void update(float dt);

public:
    CCPoint originPos;

private:
    EnemyAI *controlAI;
};

#endif // ENEMY_H
